import { createApp } from 'vue'
import ElementPlus from 'element-plus';
import router from "./router/index"
import store,{key} from "./store"
import App from './App.vue'
//初始化css,重置css默认样式
import "normalize.css/normalize.css"
//全局css
import "@/styles/index.scss"
import "virtual:svg-icons-register"
import initSvgIcon from "@/icons/index"
// import ElementPlus from "element-plus"
import installElementPlus from "./plugins/element"


const app = createApp(App)
// createApp(App).mount('#app')
app.use(store,key)
// app.use(ElementPlus);
app.use(installElementPlus)
app.use(router)
// app.use(ElementPlus)
app.use(initSvgIcon)
app.mount("#app")
